Repository navigation
feat(resolver): let hook profiles work with only a download hook - #1409
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the
|
e7fd954 to
5dac270
Compare
If a package has a download hook but no resolver hook, `hook-sdist` and `hook-prebuilt` now find versions on their `index_url`. A package with no hooks gets an error. Closes: python-wheel-build#1387 Co-Authored-By: Claude <claude@anthropic.com> Signed-off-by: Lalatendu Mohanty <lmohanty@redhat.com>
5dac270 to
fb7b165
Compare
|
This pull request does not currently match the merge queue conditions, so it cannot be queued from here. The box comes back if it matches again. |
2cecb06
into
python-wheel-build:new-resolver-config
0.102.0 was released from `main` without the new resolver config, so the feature branch's version notes must name the next release. - Change every `versionadded` and `versionchanged` added on this branch (0.95.0, 0.96.0 and 0.102.0) to 0.103.0. - Merge notes that now sit next to each other with the same version. - Drop the stale "do not fall back to PyPI" sentence for hook profiles. Since #1409, a hook profile without a `get_resolver_provider` hook finds versions on its `index_url`. Co-Authored-By: Claude <claude@anthropic.com> Signed-off-by: Lalatendu Mohanty <lmohanty@redhat.com>
If a package has a
download_sourcehook but noget_resolver_providerhook,hook-sdistandhook-prebuiltnow find versions on theirindex_url:hook-sdistlooks at sdists and wheels for any platform, likepypi-git.hook-prebuiltlooks at wheels for this platform, likepypi-prebuilt.The download hook then gets the source or wheel. A package with neither hook gets an error that suggests
pypi-sdistorpypi-prebuilt. Packages with a resolver hook work as before.This follows the decision in #1387 (comment).
Closes: #1387
🤖 Generated with Claude Code